package com.dhcc.bpm.modules.system.service;

import org.springblade.core.log.model.LogApi;
import org.springblade.core.log.model.LogError;
import org.springblade.core.log.model.LogUsual;

/**
 * @ClassName ILogService
 * @Description 服务类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
public interface ILogService {

	/**
	 * @Description 保存通用日志
	 * @Author sjm
	 * @Date 10:19 2020/2/22 0022
	 * @param log
	 * @return java.lang.Boolean
	 **/
	Boolean saveUsualLog(LogUsual log);

	/**
	 * @Description 保存操作日志
	 * @Author sjm
	 * @Date 10:19 2020/2/22 0022
	 * @param log
	 * @return java.lang.Boolean
	 **/
	Boolean saveApiLog(LogApi log);

	/**
	 * @Description 保存错误日志
	 * @Author sjm
	 * @Date 10:19 2020/2/22 0022
	 * @param log
	 * @return java.lang.Boolean
	 **/
	Boolean saveErrorLog(LogError log);

}
